canmoneyset=function(){
	getrType("薪酬专员");
	gettopmessage();
}
canmoneyfh=function(){
	getrType("薪酬经理");
	gettopmessage();
}
canemset=function(){
	getrType("人事专员");
	gettopmessage();
}
canemfh=function(){
	getrType("人事经理");
	gettopmessage();
}
iscomment=function(){
	getrType("普通用户");
	gettopmessage();
}
issystem=function(){
	getrType('系统管理员');
	gettopmessage();
}
gettopmessage=function(){
	let xml;	
	if (window.XMLHttpRequest)
	{
	    //  IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
	    xml=new XMLHttpRequest();
	}
	else
	{
	    // IE6, IE5 浏览器执行代码
	    xml=new ActiveXObject("Microsoft.XMLHTTP");
	}
	xml.onreadystatechange=function(){
		if(xml.readyState==4&&xml.status==200){	
			if(xml.responseText!="null"&&xml.responseText!="")
			{
				 let t=JSON.parse(xml.responseText);
				 let img=document.getElementById('topimg');
				 let name=document.getElementById('topname');
				 name.innerText+=t.data.rType+t.data.rName;
				 img.src=t.data.rImgurl;
				// alert(t.rImgurl);
			}
			
		}
	}
	xml.open("post","/roles/getRoles",true);
	xml.setRequestHeader('content-type','application/x-www-form-urlencoded');
	xml.send();
}
getrType=function(type){
	let a=document.createElement('a');
	a.href="../login.html";
	$.ajax({
		url:"/roles/getType",
		type:"post",
		data:null,
		dataType:"JSON",
		success:function (json){
			if(json.status==200&&json.data==type){
			}else{
				a.click();
			}
		},
		error:function (){
			alert("未知错误");
			a.click();
		}
	})
}
loadmobangly=function(){
issystem();
document.writeln("<div class=\'wrapper\'>");
document.writeln("	<nav class=\'topnav navbar navbar-light\'>");
document.writeln("		<button type=\'button\' class=\'navbar-toggler text-muted mt-2 p-0 mr-3 collapseSidebar\'>");
document.writeln("			<i class=\'fe fe-menu navbar-toggler-icon\'></i>");
document.writeln("		</button>");
document.writeln("		<form class=\'form-inline mr-auto searchform text-muted\'>");
document.writeln("			<input class=\'form-control mr-sm-2 bg-transparent border-0 pl-4 text-muted\' type=\'search\' placeholder=\'输入搜索框\' aria-label=\'Search\'>");
document.writeln("		</form>");
document.writeln("		<ul class=\'nav\'>");
document.writeln("			<li class=\'nav-item nav-notif\'>");
document.writeln("				<p style=\'transform: translateY(30px);\' id=\'topname\'>你好:</p>");
document.writeln("			</li>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a class=\'nav-link  text-muted pr-0\' href=\'#\' id=\'navbarDropdownMenuLink\' role=\'button\'  >");
document.writeln("					<span class=\'avatar avatar-sm mt-2\'>");
document.writeln("						<img id=\'topimg\'  class=\'avatar-img rounded-circle\'>");
document.writeln("					</span>");
document.writeln("				</a>");
document.writeln("			</li>");
document.writeln("		</ul>");
document.writeln("	</nav>");
document.writeln("	<aside class=\'sidebar-left border-right bg-white shadow\' id=\'leftSidebar\' data-simplebar>");
document.writeln("		<nav class=\'vertnav navbar navbar-light\'>");
document.writeln("		");
document.writeln("			<div class=\'w-100 mb-4 d-flex\' >");
document.writeln("				<img src=\'../img/logo.svg\' style=\'height: 42px;width: 42px; transform: translateX(80px);\'/>");
document.writeln("			</div>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("				<li class=\'nav-item dropdown\'>");
document.writeln("					<a href=\'#kzmb\' data-toggle=\'collapse\' aria-expanded=\'false\' class=\'dropdown-toggle nav-link\'>");
document.writeln("						<i class=\'fe fe-home fe-16\'></i>");
document.writeln("						<span class=\'ml-3 item-text\'>控制面板</span>");
document.writeln("					</a>");
document.writeln("					<ul class=\'collapse list-unstyled pl-4 w-100\' id=\'kzmb\'>");
document.writeln("						<li class=\'nav-item active\'>");
document.writeln("							<a class=\'nav-link pl-3\' href=\'index.html\'><span class=\'ml-1 item-text\'>个人信息</span></a>");
document.writeln("						</li>");
document.writeln("					</ul>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("			<p class=\'text-muted nav-heading mt-4 mb-1\'>");
document.writeln("			<span>&nbsp;&nbsp;&nbsp;&nbsp;管理</span>");
document.writeln("			</p>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a href=\'#rsda\' data-toggle=\'collapse\' aria-expanded=\'false\' class=\'dropdown-toggle nav-link\'>");
document.writeln("					<i class=\'fe fe-box fe-16\'></i>");
document.writeln("					<span class=\'ml-3 item-text\'>人事档案</span>");
document.writeln("				</a>");
document.writeln("				<ul class=\'collapse list-unstyled pl-4 w-100\' id=\'rsda\'>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'employee.html\'><span class=\'ml-1 item-text\'>登记档案</span></a>");
document.writeln("					</li>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'employeereview.html\'><span class=\'ml-1 item-text\'>复核档案</span></a>");
document.writeln("					</li>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'glemployee.html\'><span class=\'ml-1 item-text\'>管理档案</span></a>");
document.writeln("					</li>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'findem.html\'><span class=\'ml-1 item-text\'>查找档案</span></a>");
document.writeln("					</li>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'clem.html\'><span class=\'ml-1 item-text\'>处理驳回档案</span></a>");
document.writeln("					</li>");
document.writeln("				</ul>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a href=\'#xzgl\' data-toggle=\'collapse\' aria-expanded=\'false\' class=\'dropdown-toggle nav-link\'>");
document.writeln("					<i class=\'fe fe-box fe-16\'></i>");
document.writeln("					<span class=\'ml-3 item-text\'>薪资管理</span>");
document.writeln("				</a>");
document.writeln("				<ul class=\'collapse list-unstyled pl-4 w-100\' id=\'xzgl\'>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'memoyset.html\'><span class=\'ml-1 item-text\'>薪资登记</span></a>");
document.writeln("					</li>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'memoysetfh.html\'><span class=\'ml-1 item-text\'>薪资复核</span></a>");
document.writeln("					</li>");
document.writeln("						<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'memoyput.html\'><span class=\'ml-1 item-text\'>薪资发放</span></a>");
document.writeln("					</li>");
document.writeln("						");
document.writeln("						<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'memoygl.html\'><span class=\'ml-1 item-text\'>薪资信息管理</span></a>");
document.writeln("					</li>");
document.writeln("				</ul>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a href=\'#jggl\' data-toggle=\'collapse\' aria-expanded=\'false\' class=\'dropdown-toggle nav-link\'>");
document.writeln("					<i class=\'fe fe-box fe-16\'></i>");
document.writeln("					<span class=\'ml-3 item-text\'>机构管理</span>");
document.writeln("				</a>");
document.writeln("				<ul class=\'collapse list-unstyled pl-4 w-100\' id=\'jggl\'>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'addinstitution.html\'><span class=\'ml-1 item-text\'>添加机构</span></a>");
document.writeln("					</li>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'gljg.html\'><span class=\'ml-1 item-text\'>管理机构</span></a>");
document.writeln("					</li>");
document.writeln("					");
document.writeln("				</ul>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a href=\'#zwgl\' data-toggle=\'collapse\' aria-expanded=\'false\' class=\'dropdown-toggle nav-link\'>");
document.writeln("					<i class=\'fe fe-box fe-16\'></i>");
document.writeln("					<span class=\'ml-3 item-text\'>职位管理</span>");
document.writeln("				</a>");
document.writeln("				<ul class=\'collapse list-unstyled pl-4 w-100\' id=\'zwgl\'>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'addposition.html\'><span class=\'ml-1 item-text\'>增加职位</span></a>");
document.writeln("					</li>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'glposition.html\'><span class=\'ml-1 item-text\'>查看职位</span></a>");
document.writeln("					</li>");
document.writeln("				</ul>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a href=\'#rygl\' data-toggle=\'collapse\' aria-expanded=\'false\' class=\'dropdown-toggle nav-link\'>");
document.writeln("					<i class=\'fe fe-box fe-16\'></i>");
document.writeln("					<span class=\'ml-3 item-text\'>工作人员管理</span>");
document.writeln("				</a>");
document.writeln("				<ul class=\'collapse list-unstyled pl-4 w-100\' id=\'rygl\'>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'glry.html\'><span class=\'ml-1 item-text\'>修改人员权限</span></a>");
document.writeln("					</li>");
document.writeln("				</ul>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a href=\'#login\'  aria-expanded=\'false\' class=\' nav-link\'>");
document.writeln("					");
document.writeln("	<a href=\'../login.html\'><span class=\'ml-3 item-text\' style=\'transform: translateX(20px);\'>返回登录</span></a>");
document.writeln("				</a>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("		</nav>");
document.writeln("	</aside>");
}
loadmobanmemoyset=function(){
canmoneyset();
document.writeln("<div class=\'wrapper\'>");
document.writeln("	<nav class=\'topnav navbar navbar-light\'>");
document.writeln("		<button type=\'button\' class=\'navbar-toggler text-muted mt-2 p-0 mr-3 collapseSidebar\'>");
document.writeln("			<i class=\'fe fe-menu navbar-toggler-icon\'></i>");
document.writeln("		</button>");
document.writeln("		<form class=\'form-inline mr-auto searchform text-muted\'>");
document.writeln("			<input class=\'form-control mr-sm-2 bg-transparent border-0 pl-4 text-muted\' type=\'search\' placeholder=\'输入搜索框\' aria-label=\'Search\'>");
document.writeln("		</form>");
document.writeln("		<ul class=\'nav\'>");
document.writeln("			<li class=\'nav-item nav-notif\'>");
document.writeln("				<p style=\'transform: translateY(30px);\' id=\'topname\'>你好:</p>");
document.writeln("			</li>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a class=\'nav-link  text-muted pr-0\' href=\'#\' id=\'navbarDropdownMenuLink\' role=\'button\'  >");
document.writeln("					<span class=\'avatar avatar-sm mt-2\'>");
document.writeln("						<img id=\'topimg\'  class=\'avatar-img rounded-circle\'>");
document.writeln("					</span>");
document.writeln("				</a>");
document.writeln("			</li>");
document.writeln("		</ul>");
document.writeln("	</nav>");
document.writeln("	<aside class=\'sidebar-left border-right bg-white shadow\' id=\'leftSidebar\' data-simplebar>");
document.writeln("		<nav class=\'vertnav navbar navbar-light\'>");
document.writeln("		");
document.writeln("			<div class=\'w-100 mb-4 d-flex\' >");
document.writeln("				<img src=\'../img/logo.svg\' style=\'height: 42px;width: 42px; transform: translateX(80px);\'/>");
document.writeln("			</div>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("				<li class=\'nav-item dropdown\'>");
document.writeln("					<a href=\'#kzmb\' data-toggle=\'collapse\' aria-expanded=\'false\' class=\'dropdown-toggle nav-link\'>");
document.writeln("						<i class=\'fe fe-home fe-16\'></i>");
document.writeln("						<span class=\'ml-3 item-text\'>控制面板</span>");
document.writeln("					</a>");
document.writeln("					<ul class=\'collapse list-unstyled pl-4 w-100\' id=\'kzmb\'>");
document.writeln("						<li class=\'nav-item active\'>");
document.writeln("							<a class=\'nav-link pl-3\' href=\'index.html\'><span class=\'ml-1 item-text\'>个人信息</span></a>");
document.writeln("						</li>");
document.writeln("					</ul>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("			<p class=\'text-muted nav-heading mt-4 mb-1\'>");
document.writeln("			<span>&nbsp;&nbsp;&nbsp;&nbsp;管理</span>");
document.writeln("			</p>");
document.writeln("			");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a href=\'#xzgl\' data-toggle=\'collapse\' aria-expanded=\'false\' class=\'dropdown-toggle nav-link\'>");
document.writeln("					<i class=\'fe fe-box fe-16\'></i>");
document.writeln("					<span class=\'ml-3 item-text\'>薪资管理</span>");
document.writeln("				</a>");
document.writeln("				<ul class=\'collapse list-unstyled pl-4 w-100\' id=\'xzgl\'>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'memoyset.html\'><span class=\'ml-1 item-text\'>薪资登记</span></a>");
document.writeln("					</li>");
document.writeln("					");
document.writeln("						<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'memoyput.html\'><span class=\'ml-1 item-text\'>薪资发放</span></a>");
document.writeln("						</li>");
document.writeln("						<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'memoygl.html\'><span class=\'ml-1 item-text\'>薪资标准信息管理</span></a>");
document.writeln("					</li>");
document.writeln("				</ul>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a href=\'#login\'  aria-expanded=\'false\' class=\' nav-link\'>");
document.writeln("					");
document.writeln("	<a href=\'../login.html\'><span class=\'ml-3 item-text\' style=\'transform: translateX(20px);\'>返回登录</span></a>");
document.writeln("				</a>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("		</nav>");
document.writeln("	</aside>");
}
loadmobanmemoyfh=function(){
canmoneyfh();
document.writeln("<div class=\'wrapper\'>");
document.writeln("	<nav class=\'topnav navbar navbar-light\'>");
document.writeln("		<button type=\'button\' class=\'navbar-toggler text-muted mt-2 p-0 mr-3 collapseSidebar\'>");
document.writeln("			<i class=\'fe fe-menu navbar-toggler-icon\'></i>");
document.writeln("		</button>");
document.writeln("		<form class=\'form-inline mr-auto searchform text-muted\'>");
document.writeln("			<input class=\'form-control mr-sm-2 bg-transparent border-0 pl-4 text-muted\' type=\'search\' placeholder=\'输入搜索框\' aria-label=\'Search\'>");
document.writeln("		</form>");
document.writeln("		<ul class=\'nav\'>");
document.writeln("			<li class=\'nav-item nav-notif\'>");
document.writeln("				<p style=\'transform: translateY(30px);\' id=\'topname\'>你好:</p>");
document.writeln("			</li>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a class=\'nav-link  text-muted pr-0\' href=\'#\' id=\'navbarDropdownMenuLink\' role=\'button\'  >");
document.writeln("					<span class=\'avatar avatar-sm mt-2\'>");
document.writeln("						<img id=\'topimg\'  class=\'avatar-img rounded-circle\'>");
document.writeln("					</span>");
document.writeln("				</a>");
document.writeln("			</li>");
document.writeln("		</ul>");
document.writeln("	</nav>");
document.writeln("	<aside class=\'sidebar-left border-right bg-white shadow\' id=\'leftSidebar\' data-simplebar>");
document.writeln("		<nav class=\'vertnav navbar navbar-light\'>");
document.writeln("		");
document.writeln("			<div class=\'w-100 mb-4 d-flex\' >");
document.writeln("				<img src=\'../img/logo.svg\' style=\'height: 42px;width: 42px; transform: translateX(80px);\'/>");
document.writeln("			</div>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("				<li class=\'nav-item dropdown\'>");
document.writeln("					<a href=\'#kzmb\' data-toggle=\'collapse\' aria-expanded=\'false\' class=\'dropdown-toggle nav-link\'>");
document.writeln("						<i class=\'fe fe-home fe-16\'></i>");
document.writeln("						<span class=\'ml-3 item-text\'>控制面板</span>");
document.writeln("					</a>");
document.writeln("					<ul class=\'collapse list-unstyled pl-4 w-100\' id=\'kzmb\'>");
document.writeln("						<li class=\'nav-item active\'>");
document.writeln("							<a class=\'nav-link pl-3\' href=\'index.html\'><span class=\'ml-1 item-text\'>个人信息</span></a>");
document.writeln("						</li>");
document.writeln("					</ul>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("			<p class=\'text-muted nav-heading mt-4 mb-1\'>");
document.writeln("			<span>&nbsp;&nbsp;&nbsp;&nbsp;管理</span>");
document.writeln("			</p>");
document.writeln("			");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a href=\'#xzgl\' data-toggle=\'collapse\' aria-expanded=\'false\' class=\'dropdown-toggle nav-link\'>");
document.writeln("					<i class=\'fe fe-box fe-16\'></i>");
document.writeln("					<span class=\'ml-3 item-text\'>薪资管理</span>");
document.writeln("				</a>");
document.writeln("				<ul class=\'collapse list-unstyled pl-4 w-100\' id=\'xzgl\'>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'memoysetfh.html\'><span class=\'ml-1 item-text\'>薪资复核</span></a>");
document.writeln("					</li>");
document.writeln("						<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'memoyputhf.html\'><span class=\'ml-1 item-text\'>薪资发放复核</span></a>");
document.writeln("					</li>");
document.writeln("						<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'memoygl.html\'><span class=\'ml-1 item-text\'>薪资标准信息管理</span></a>");
document.writeln("					</li>");
document.writeln("				</ul>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a href=\'#login\'  aria-expanded=\'false\' class=\' nav-link\'>");
document.writeln("					");
document.writeln("	<a href=\'../login.html\'><span class=\'ml-3 item-text\' style=\'transform: translateX(20px);\'>返回登录</span></a>");
document.writeln("				</a>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("		</nav>");
document.writeln("	</aside>");
}
loadmobanemset=function(){
canemset();
document.writeln("<div class=\'wrapper\'>");
document.writeln("	<nav class=\'topnav navbar navbar-light\'>");
document.writeln("		<button type=\'button\' class=\'navbar-toggler text-muted mt-2 p-0 mr-3 collapseSidebar\'>");
document.writeln("			<i class=\'fe fe-menu navbar-toggler-icon\'></i>");
document.writeln("		</button>");
document.writeln("		<form class=\'form-inline mr-auto searchform text-muted\'>");
document.writeln("			<input class=\'form-control mr-sm-2 bg-transparent border-0 pl-4 text-muted\' type=\'search\' placeholder=\'输入搜索框\' aria-label=\'Search\'>");
document.writeln("		</form>");
document.writeln("		<ul class=\'nav\'>");
document.writeln("			<li class=\'nav-item nav-notif\'>");
document.writeln("				<p style=\'transform: translateY(30px);\' id=\'topname\'>你好:</p>");
document.writeln("			</li>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a class=\'nav-link  text-muted pr-0\' href=\'#\' id=\'navbarDropdownMenuLink\' role=\'button\'  >");
document.writeln("					<span class=\'avatar avatar-sm mt-2\'>");
document.writeln("						<img id=\'topimg\'  class=\'avatar-img rounded-circle\'>");
document.writeln("					</span>");
document.writeln("				</a>");
document.writeln("			</li>");
document.writeln("		</ul>");
document.writeln("	</nav>");
document.writeln("	<aside class=\'sidebar-left border-right bg-white shadow\' id=\'leftSidebar\' data-simplebar>");
document.writeln("		<nav class=\'vertnav navbar navbar-light\'>");
document.writeln("		");
document.writeln("			<div class=\'w-100 mb-4 d-flex\' >");
document.writeln("				<img src=\'../img/logo.svg\' style=\'height: 42px;width: 42px; transform: translateX(80px);\'/>");
document.writeln("			</div>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("				<li class=\'nav-item dropdown\'>");
document.writeln("					<a href=\'#kzmb\' data-toggle=\'collapse\' aria-expanded=\'false\' class=\'dropdown-toggle nav-link\'>");
document.writeln("						<i class=\'fe fe-home fe-16\'></i>");
document.writeln("						<span class=\'ml-3 item-text\'>控制面板</span>");
document.writeln("					</a>");
document.writeln("					<ul class=\'collapse list-unstyled pl-4 w-100\' id=\'kzmb\'>");
document.writeln("						<li class=\'nav-item active\'>");
document.writeln("							<a class=\'nav-link pl-3\' href=\'index.html\'><span class=\'ml-1 item-text\'>个人信息</span></a>");
document.writeln("						</li>");
document.writeln("					</ul>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("			<p class=\'text-muted nav-heading mt-4 mb-1\'>");
document.writeln("			<span>&nbsp;&nbsp;&nbsp;&nbsp;管理</span>");
document.writeln("			</p>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a href=\'#rsda\' data-toggle=\'collapse\' aria-expanded=\'false\' class=\'dropdown-toggle nav-link\'>");
document.writeln("					<i class=\'fe fe-box fe-16\'></i>");
document.writeln("					<span class=\'ml-3 item-text\'>人事档案</span>");
document.writeln("				</a>");
document.writeln("				<ul class=\'collapse list-unstyled pl-4 w-100\' id=\'rsda\'>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'employee.html\'><span class=\'ml-1 item-text\'>登记档案</span></a>");
document.writeln("					</li>");
document.writeln("					");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'glemployee.html\'><span class=\'ml-1 item-text\'>管理档案</span></a>");
document.writeln("					</li>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'findem.html\'><span class=\'ml-1 item-text\'>查找档案</span></a>");
document.writeln("					</li>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'clem.html\'><span class=\'ml-1 item-text\'>处理驳回档案</span></a>");
document.writeln("					</li>");
document.writeln("				</ul>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("			");
document.writeln("			");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a href=\'#login\'  aria-expanded=\'false\' class=\' nav-link\'>");
document.writeln("					");
document.writeln("	<a href=\'../login.html\'><span class=\'ml-3 item-text\' style=\'transform: translateX(20px);\'>返回登录</span></a>");
document.writeln("				</a>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("		</nav>");
document.writeln("	</aside>");
}
loadmobanemfh=function(){
canemfh();
document.writeln("<div class=\'wrapper\'>");
document.writeln("	<nav class=\'topnav navbar navbar-light\'>");
document.writeln("		<button type=\'button\' class=\'navbar-toggler text-muted mt-2 p-0 mr-3 collapseSidebar\'>");
document.writeln("			<i class=\'fe fe-menu navbar-toggler-icon\'></i>");
document.writeln("		</button>");
document.writeln("		<form class=\'form-inline mr-auto searchform text-muted\'>");
document.writeln("			<input class=\'form-control mr-sm-2 bg-transparent border-0 pl-4 text-muted\' type=\'search\' placeholder=\'输入搜索框\' aria-label=\'Search\'>");
document.writeln("		</form>");
document.writeln("		<ul class=\'nav\'>");
document.writeln("			<li class=\'nav-item nav-notif\'>");
document.writeln("				<p style=\'transform: translateY(30px);\' id=\'topname\'>你好:</p>");
document.writeln("			</li>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a class=\'nav-link  text-muted pr-0\' href=\'#\' id=\'navbarDropdownMenuLink\' role=\'button\'  >");
document.writeln("					<span class=\'avatar avatar-sm mt-2\'>");
document.writeln("						<img id=\'topimg\'  class=\'avatar-img rounded-circle\'>");
document.writeln("					</span>");
document.writeln("				</a>");
document.writeln("			</li>");
document.writeln("		</ul>");
document.writeln("	</nav>");
document.writeln("	<aside class=\'sidebar-left border-right bg-white shadow\' id=\'leftSidebar\' data-simplebar>");
document.writeln("		<nav class=\'vertnav navbar navbar-light\'>");
document.writeln("		");
document.writeln("			<div class=\'w-100 mb-4 d-flex\' >");
document.writeln("				<img src=\'../img/logo.svg\' style=\'height: 42px;width: 42px; transform: translateX(80px);\'/>");
document.writeln("			</div>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("				<li class=\'nav-item dropdown\'>");
document.writeln("					<a href=\'#kzmb\' data-toggle=\'collapse\' aria-expanded=\'false\' class=\'dropdown-toggle nav-link\'>");
document.writeln("						<i class=\'fe fe-home fe-16\'></i>");
document.writeln("						<span class=\'ml-3 item-text\'>控制面板</span>");
document.writeln("					</a>");
document.writeln("					<ul class=\'collapse list-unstyled pl-4 w-100\' id=\'kzmb\'>");
document.writeln("						<li class=\'nav-item active\'>");
document.writeln("							<a class=\'nav-link pl-3\' href=\'index.html\'><span class=\'ml-1 item-text\'>个人信息</span></a>");
document.writeln("						</li>");
document.writeln("					</ul>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("			<p class=\'text-muted nav-heading mt-4 mb-1\'>");
document.writeln("			<span>&nbsp;&nbsp;&nbsp;&nbsp;管理</span>");
document.writeln("			</p>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a href=\'#rsda\' data-toggle=\'collapse\' aria-expanded=\'false\' class=\'dropdown-toggle nav-link\'>");
document.writeln("					<i class=\'fe fe-box fe-16\'></i>");
document.writeln("					<span class=\'ml-3 item-text\'>人事档案</span>");
document.writeln("				</a>");
document.writeln("				<ul class=\'collapse list-unstyled pl-4 w-100\' id=\'rsda\'>");
document.writeln("					");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'employeereview.html\'><span class=\'ml-1 item-text\'>复核档案</span></a>");
document.writeln("					</li>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'glemployee.html\'><span class=\'ml-1 item-text\'>管理档案</span></a>");
document.writeln("					</li>");
document.writeln("					<li class=\'nav-item\'>");
document.writeln("						<a class=\'nav-link pl-3\' href=\'findem.html\'><span class=\'ml-1 item-text\'>查找档案</span></a>");
document.writeln("					</li>");
document.writeln("					");
document.writeln("				</ul>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("			");
document.writeln("			");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a href=\'#login\'  aria-expanded=\'false\' class=\' nav-link\'>");
document.writeln("					");
document.writeln("	<a href=\'../login.html\'><span class=\'ml-3 item-text\' style=\'transform: translateX(20px);\'>返回登录</span></a>");
document.writeln("				</a>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("		</nav>");
document.writeln("	</aside>");
}
loadmobancomment=function(){
iscomment();
document.writeln("<div class=\'wrapper\'>");
document.writeln("	<nav class=\'topnav navbar navbar-light\'>");
document.writeln("		<button type=\'button\' class=\'navbar-toggler text-muted mt-2 p-0 mr-3 collapseSidebar\'>");
document.writeln("			<i class=\'fe fe-menu navbar-toggler-icon\'></i>");
document.writeln("		</button>");
document.writeln("		<form class=\'form-inline mr-auto searchform text-muted\'>");
document.writeln("			<input class=\'form-control mr-sm-2 bg-transparent border-0 pl-4 text-muted\' type=\'search\' placeholder=\'输入搜索框\' aria-label=\'Search\'>");
document.writeln("		</form>");
document.writeln("		<ul class=\'nav\'>");
document.writeln("			<li class=\'nav-item nav-notif\'>");
document.writeln("				<p style=\'transform: translateY(30px);\' id=\'topname\'>你好:</p>");
document.writeln("			</li>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a class=\'nav-link  text-muted pr-0\' href=\'#\' id=\'navbarDropdownMenuLink\' role=\'button\'  >");
document.writeln("					<span class=\'avatar avatar-sm mt-2\'>");
document.writeln("						<img id=\'topimg\'  class=\'avatar-img rounded-circle\'>");
document.writeln("					</span>");
document.writeln("				</a>");
document.writeln("			</li>");
document.writeln("		</ul>");
document.writeln("	</nav>");
document.writeln("	<aside class=\'sidebar-left border-right bg-white shadow\' id=\'leftSidebar\' data-simplebar>");
document.writeln("		<nav class=\'vertnav navbar navbar-light\'>");
document.writeln("		");
document.writeln("			<div class=\'w-100 mb-4 d-flex\' >");
document.writeln("				<img src=\'../img/logo.svg\' style=\'height: 42px;width: 42px; transform: translateX(80px);\'/>");
document.writeln("			</div>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("				<li class=\'nav-item dropdown\'>");
document.writeln("					<a href=\'#kzmb\' data-toggle=\'collapse\' aria-expanded=\'false\' class=\'dropdown-toggle nav-link\'>");
document.writeln("						<i class=\'fe fe-home fe-16\'></i>");
document.writeln("						<span class=\'ml-3 item-text\'>控制面板</span>");
document.writeln("					</a>");
document.writeln("					<ul class=\'collapse list-unstyled pl-4 w-100\' id=\'kzmb\'>");
document.writeln("						<li class=\'nav-item active\'>");
document.writeln("							<a class=\'nav-link pl-3\' href=\'index.html\'><span class=\'ml-1 item-text\'>个人信息</span></a>");
document.writeln("						</li>");
document.writeln("					</ul>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("			<ul class=\'navbar-nav flex-fill w-100 mb-2\'>");
document.writeln("			<li class=\'nav-item dropdown\'>");
document.writeln("				<a href=\'#login\'  aria-expanded=\'false\' class=\' nav-link\'>");
document.writeln("					");
document.writeln("	<a href=\'../login.html\'><span class=\'ml-3 item-text\' style=\'transform: translateX(20px);\'>返回登录</span></a>");
document.writeln("				</a>");
document.writeln("				</li>");
document.writeln("			</ul>");
document.writeln("		</nav>");
document.writeln("	</aside>");
}
